import request from '../lib/request.js'

export function all(){
	return request({url:'/api/admin/access/all',method:'get'});
}
export function index(){
	return request({url:'/api/admin/access/index',method:'get'});
}
export function create(data){
	return request({url:'/api/admin/access/create',method:'post',data:data});
}
export function del(data){
	return request({url:'/api/admin/access/del',method:'post',data:data});
}